<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>P8-外部进入的流动人口分布-夜晚</title>
    <!-- 引入jquery文件 -->
    <script src="../js/jquery-3.1.1.js"></script>
    <!-- 引入 ECharts 文件 -->
    <script src="../js/echarts.js"></script>
</head>
<body>
<div id="map" style="width: 800px;height:600px;"></div>

<script>

    // JS
    var chart = echarts.init(document.getElementById('map'));

    // 获取乌鲁木齐区块数据
    $.getJSON('../data/wlmq_block.json', function (data) {
        echarts.registerMap('urumqi', data);
        var chart = echarts.init(document.getElementById('map'));
        chart.setOption({
            title: {
                text: 'P8-外部进入的流动人口分布-夜晚'
            },
            tooltip: {
                trigger: 'item',
                formatter: '{b}<br/>{c} (p / km2)'
            },
            visualMap: {
                min:  0,
                max: 50000,
                text:['High','Low'],
                realtime: false,
                calculable: true,
                inRange: {
                    color: ['lightskyblue','yellow', 'orangered']
                }
            },
            series: [
                {
                    name: '香港18区人口密度',
                    type: 'map',
                    mapType: 'urumqi', // 自定义扩展图表类型
                    itemStyle:{
                        normal:{label:{show:false}},
                        emphasis:{label:{show:true}}
                    },
                    data:[
                        {name: 'SMGQ_18', value: 7055},
                        {name: 'SYBKQ_15', value: 1055},
                        {name: 'TSQ_39', value: 5491},
                        {name: 'SYBKQ_48', value: 220},
                        {name: 'MDQ_52', value: 17},
                        {name: 'SYBKQ_56', value: 582},
                        {name: 'DBCQ2_6', value: 937},
                        {name: 'MDQ_34', value: 38963},
                        {name: 'TTHQ_55', value: 6945},
                        {name: 'SYBKQ_72', value: 13236},
                        {name: 'SYBKQ_24', value: 1699},
                        {name: 'SMGQ_82', value: 575},
                        {name: 'MDQ_48', value: 507},
                        {name: 'WLMQX2_36', value: 932},
                        {name: 'WLMQX1_5', value: 35},
                        {name: 'MDQ_35', value: 35005},
                        {name: 'SMGQ_27', value: 4317},
                        {name: 'XSQ_71', value: 11431},
                        {name: 'XSQ_18', value: 1518},
                        {name: 'TSQ_29', value: 1828},
                        {name: 'SYBKQ_53', value: 528},
                        {name: 'SMGQ_73', value: 9609},
                        {name: 'WLMQX1_15', value: 1235},
                        {name: 'SYBKQ_70', value: 11074},
                        {name: 'SYBKQ_80', value: 12005},
                        {name: 'SMGQ_71', value: 14652},
                        {name: 'WLMQX2_73', value: 413},
                        {name: 'TTHQ_49', value: 328},
                        {name: 'TTHQ_23', value: 201},
                        {name: 'SYBKQ_78', value: 21302},
                        {name: 'WLMQX2_80', value: 655},
                        {name: 'TTHQ_52', value: 572},
                        {name: 'DBCQ2_15', value: 797},
                        {name: 'XSQ_48', value: 1718},
                        {name: 'SYBKQ_29', value: 395},
                        {name: 'WLMQX2_68', value: 95},
                        {name: 'TSQ_30', value: 192},
                        {name: 'DBCQ2_13', value: 516},
                        {name: 'MDQ_55', value: 1005},
                        {name: 'SMGQ_80', value: 174},
                        {name: 'TSQ_56', value: 11642},
                        {name: 'MDQ_78', value: 334},
                        {name: 'DBCQ2_17', value: 44},
                        {name: 'XSQ_55', value: 10272},
                        {name: 'MDQ_33', value: 45710},
                        {name: 'XSQ_47', value: 10691},
                        {name: 'SYBKQ_45', value: 2116},
                        {name: 'SMGQ_32', value: 2267},
                        {name: 'WLMQX1_36', value: 3140},
                        {name: 'DBCQ2_91', value: 290},
                        {name: 'SYBKQ_65', value: 170},
                        {name: 'XSQ_77', value: 10435},
                        {name: 'WLMQX2_138', value: 1127},
                        {name: 'XSQ_16', value: 21281},
                        {name: 'SYBKQ_46', value: 479},
                        {name: 'TSQ_28', value: 377},
                        {name: 'XSQ_53', value: 22763},
                        {name: 'SYBKQ_71', value: 3923},
                        {name: 'SYBKQ_68', value: 12855},
                        {name: 'TTHQ_24', value: 820},
                        {name: 'XSQ_59', value: 12644},
                        {name: 'WLMQX2_136', value: 200},
                        {name: 'TTHQ_11', value: 2904},
                        {name: 'TSQ_55', value: 50002},
                        {name: 'TSQ_51', value: 42887},
                        {name: 'XSQ_65', value: 4346},
                        {name: 'XSQ_28', value: 3091},
                        {name: 'WLMQX2_137', value: 550},
                        {name: 'TSQ_24', value: 46},
                        {name: 'SYBKQ_54', value: 4789},
                        {name: 'XSQ_75', value: 5219},
                        {name: 'SMGQ_69', value: 1562},
                        {name: 'MDQ_121', value: 21},
                        {name: 'SYBKQ_6', value: 11214},
                        {name: 'TTHQ_48', value: 19745},
                        {name: 'TTHQ_5', value: 4608},
                        {name: 'XSQ_4', value: 1587},
                        {name: 'DBCQ2_86', value: 236},
                        {name: 'MDQ_86', value: 139},
                        {name: 'TTHQ_36', value: 74},
                        {name: 'WLMQX2_54', value: 1265},
                        {name: 'XSQ_62', value: 14338},
                        {name: 'SYBKQ_77', value: 12208},
                        {name: 'SMGQ_78', value: 3511},
                        {name: 'SMGQ_30', value: 21800},
                        {name: 'MDQ_111', value: 32106},
                        {name: 'MDQ_83', value: 5920},
                        {name: 'MDQ_40', value: 2467},
                        {name: 'XSQ_37', value: 184},
                        {name: 'WLMQX1_19', value: 52},
                        {name: 'XSQ_24', value: 2397},
                        {name: 'WLMQX2_55', value: 341},
                        {name: 'XSQ_56', value: 25373},
                        {name: 'TSQ_33', value: 34215},
                        {name: 'SMGQ_34', value: 6207},
                        {name: 'TSQ_59', value: 568},
                        {name: 'TTHQ_3', value: 61},
                        {name: 'TSQ_20', value: 121},
                        {name: 'TSQ_52', value: 10502},
                        {name: 'SYBKQ_42', value: 7503},
                        {name: 'WLMQX2_141', value: 3420},
                        {name: 'TTHQ_44', value: 19050},
                        {name: 'SMGQ_12', value: 48},
                        {name: 'TTHQ_32', value: 1859},
                        {name: 'SYBKQ_40', value: 29924},
                        {name: 'SYBKQ_34', value: 14607},
                        {name: 'SMGQ_31', value: 11454},
                        {name: 'DBCQ1_8', value: 523},
                        {name: 'XSQ_40', value: 2803},
                        {name: 'XSQ_78', value: 3970},
                        {name: 'TTHQ_41', value: 1067},
                        {name: 'XSQ_41', value: 5697},
                        {name: 'SYBKQ_79', value: 23976},
                        {name: 'SYBKQ_38', value: 13190},
                        {name: 'SYBKQ_26', value: 1178},
                        {name: 'MDQ_115', value: 1337},
                        {name: 'WLMQX2_31', value: 118},
                        {name: 'WLMQX1_31', value: 388},
                        {name: 'DBCQ1_7', value: 1000},
                        {name: 'MDQ_45', value: 1644},
                        {name: 'TTHQ_59', value: 1154},
                        {name: 'TSQ_22', value: 582},
                        {name: 'TSQ_46', value: 54140},
                        {name: 'DBCQ2_12', value: 2142},
                        {name: 'MDQ_104', value: 6986},
                        {name: 'TSQ_8', value: 2606},
                        {name: 'WLMQX2_57', value: 1015},
                        {name: 'MDQ_22', value: 678},
                        {name: 'DBCQ2_93', value: 1807},
                        {name: 'MDQ_112', value: 173},
                        {name: 'TTHQ_31', value: 463},
                        {name: 'WLMQX2_78', value: 105},
                        {name: 'DBCQ2_88', value: 35},
                        {name: 'TSQ_49', value: 6571},
                        {name: 'TSQ_54', value: 646},
                        {name: 'MDQ_16', value: 28},
                        {name: 'SYBKQ_75', value: 20789},
                        {name: 'MDQ_32', value: 9517},
                        {name: 'SYBKQ_74', value: 20333},
                        {name: 'SYBKQ_49', value: 1897},
                        {name: 'SYBKQ_7', value: 1389},
                        {name: 'MDQ_38', value: 5135},
                        {name: 'TSQ_43', value: 50668},
                        {name: 'XSQ_29', value: 16904},
                        {name: 'WLMQX1_28', value: 3119},
                        {name: 'XSQ_27', value: 1122},
                        {name: 'XSQ_42', value: 2819},
                        {name: 'SMGQ_68', value: 17011},
                        {name: 'SYBKQ_73', value: 3679},
                        {name: 'MDQ_12', value: 1127},
                        {name: 'TSQ_19', value: 49},
                        {name: 'XSQ_39', value: 9798},
                        {name: 'WLMQX1_24', value: 340},
                        {name: 'MDQ_43', value: 2450},
                        {name: 'MDQ_117', value: 40},
                        {name: 'XSQ_76', value: 2618},
                        {name: 'SYBKQ_44', value: 1526},
                        {name: 'XSQ_38', value: 510},
                        {name: 'MDQ_87', value: 302},
                        {name: 'XSQ_72', value: 20979},
                        {name: 'XSQ_52', value: 7613},
                        {name: 'TSQ_58', value: 6556},
                        {name: 'WLMQX2_146', value: 641},
                        {name: 'SYBKQ_3', value: 376},
                        {name: 'WLMQX1_25', value: 8},
                        {name: 'XSQ_79', value: 9192},
                        {name: 'TSQ_57', value: 13858},
                        {name: 'SMGQ_35', value: 421},
                        {name: 'MDQ_75', value: 119},
                        {name: 'MDQ_31', value: 27},
                        {name: 'SYBKQ_51', value: 56},
                        {name: 'MDQ_54', value: 11},
                        {name: 'TSQ_34', value: 41126},
                        {name: 'SYBKQ_41', value: 30579},
                        {name: 'XSQ_64', value: 21590},
                        {name: 'TTHQ_51', value: 686},
                        {name: 'MDQ_11', value: 301},
                        {name: 'XSQ_19', value: 2481},
                        {name: 'XSQ_7', value: 814},
                        {name: 'MDQ_110', value: 1925},
                        {name: 'WLMQX1_22', value: 375},
                        {name: 'WLMQX1_29', value: 145},
                        {name: 'SYBKQ_19', value: 1375},
                        {name: 'WLMQX2_143', value: 1624},
                        {name: 'SMGQ_81', value: 484},
                        {name: 'WLMQX2_46', value: 87},
                        {name: 'DBCQ2_79', value: 116},
                        {name: 'MDQ_82', value: 44},
                        {name: 'XSQ_73', value: 20024},
                        {name: 'SMGQ_28', value: 25587},
                        {name: 'SYBKQ_43', value: 8058},
                        {name: 'TTHQ_26', value: 6173},
                        {name: 'SMGQ_74', value: 2387},
                        {name: 'WLMQX2_50', value: 343},
                        {name: 'SMGQ_56', value: 292},
                        {name: 'SMGQ_11', value: 186},
                        {name: 'TTHQ_35', value: 66},
                        {name: 'DBCQ2_7', value: 38},
                        {name: 'WLMQX2_147', value: 9107},
                        {name: 'XSQ_82', value: 2622},
                        {name: 'WLMQX1_9', value: 139},
                        {name: 'DBCQ2_90', value: 397},
                        {name: 'WLMQX2_37', value: 197},
                        {name: 'TSQ_9', value: 487},
                        {name: 'MDQ_13', value: 55},
                        {name: 'XSQ_67', value: 7556},
                        {name: 'SYBKQ_23', value: 209},
                        {name: 'SMGQ_66', value: 10708},
                        {name: 'SMGQ_36', value: 456},
                        {name: 'SYBKQ_36', value: 8991},
                        {name: 'MDQ_79', value: 325},
                        {name: 'WLMQX2_51', value: 1031},
                        {name: 'SYBKQ_50', value: 148},
                        {name: 'MDQ_102', value: 2757},
                        {name: 'XSQ_70', value: 21356},
                        {name: 'SYBKQ_9', value: 2798},
                        {name: 'TTHQ_22', value: 431},
                        {name: 'TTHQ_8', value: 1449},
                        {name: 'WLMQX2_93', value: 101},
                        {name: 'SYBKQ_35', value: 19226},
                        {name: 'XSQ_57', value: 5012},
                        {name: 'SMGQ_49', value: 515},
                        {name: 'TSQ_53', value: 97},
                        {name: 'SYBKQ_76', value: 27367},
                        {name: 'SMGQ_65', value: 9480},
                        {name: 'TSQ_1', value: 9914},
                        {name: 'TSQ_40', value: 104},
                        {name: 'WLMQX1_10', value: 27},
                        {name: 'SYBKQ_60', value: 5744},
                        {name: 'XSQ_60', value: 6375},
                        {name: 'DBCQ2_16', value: 2364},
                        {name: 'WLMQX2_72', value: 345},
                        {name: 'XSQ_11', value: 57863},
                        {name: 'WLMQX2_66', value: 608},
                        {name: 'MDQ_101', value: 1280},
                        {name: 'WLMQX1_20', value: 49},
                        {name: 'DBCQ2_5', value: 4580},
                        {name: 'SYBKQ_5', value: 969},
                        {name: 'MDQ_41', value: 408},
                        {name: 'MDQ_36', value: 3847},
                        {name: 'WLMQX2_152', value: 844},
                        {name: 'WLMQX2_62', value: 1269},
                        {name: 'TTHQ_60', value: 14489},
                        {name: 'TSQ_48', value: 8096},
                        {name: 'TSQ_47', value: 11561},
                        {name: 'XSQ_1', value: 723},
                        {name: 'WLMQX1_35', value: 421},
                        {name: 'WLMQX2_85', value: 245},
                        {name: 'WLMQX2_76', value: 10143},
                        {name: 'XSQ_44', value: 31830},
                        {name: 'XSQ_31', value: 1090},
                        {name: 'SYBKQ_10', value: 2068},
                        {name: 'SMGQ_75', value: 1877},
                        {name: 'TTHQ_47', value: 278},
                        {name: 'WLMQX2_84', value: 302},
                        {name: 'SMGQ_33', value: 3710},
                        {name: 'WLMQX2_69', value: 17},
                        {name: 'WLMQX2_53', value: 6530},
                        {name: 'SMGQ_29', value: 26744},
                        {name: 'WLMQX1_7', value: 1770},
                        {name: 'MDQ_23', value: 2759},
                        {name: 'DBCQ2_89', value: 87},
                        {name: 'MDQ_120', value: 11},
                        {name: 'SYBKQ_64', value: 5499},
                        {name: 'SYBKQ_16', value: 1651},
                        {name: 'MDQ_10', value: 238},
                        {name: 'SMGQ_20', value: 8214},
                        {name: 'WLMQX2_71', value: 1505},
                        {name: 'WLMQX1_4', value: 150},
                        {name: 'SYBKQ_39', value: 22585},
                        {name: 'XSQ_6', value: 785},
                        {name: 'SYBKQ_61', value: 1797},
                        {name: 'WLMQX2_149', value: 99},
                        {name: 'MDQ_85', value: 42},
                        {name: 'TTHQ_6', value: 2685},
                        {name: 'WLMQX1_3', value: 97},
                        {name: 'XSQ_13', value: 39362},
                        {name: 'SYBKQ_27', value: 4579},
                        {name: 'XSQ_54', value: 1057},
                        {name: 'MDQ_46', value: 3572},
                        {name: 'SYBKQ_55', value: 275},
                        {name: 'XSQ_2', value: 166},
                        {name: 'XSQ_14', value: 39532},
                        {name: 'XSQ_43', value: 13765},
                        {name: 'XSQ_63', value: 15282},
                        {name: 'MDQ_25', value: 2374},
                        {name: 'MDQ_44', value: 1753},
                        {name: 'DBCQ2_9', value: 369},
                        {name: 'SYBKQ_30', value: 2663},
                        {name: 'TTHQ_21', value: 435},
                        {name: 'TTHQ_39', value: 2194},
                        {name: 'TTHQ_58', value: 3724},
                        {name: 'XSQ_30', value: 8422},
                        {name: 'SMGQ_19', value: 3532},
                        {name: 'WLMQX1_21', value: 363},
                        {name: 'SYBKQ_25', value: 337},
                        {name: 'SYBKQ_28', value: 319},
                        {name: 'TSQ_45', value: 70386},
                        {name: 'MDQ_26', value: 2222},
                        {name: 'TTHQ_38', value: 250},
                        {name: 'TSQ_50', value: 17558},
                        {name: 'TTHQ_34', value: 5408},
                        {name: 'TTHQ_45', value: 3066},
                        {name: 'TTHQ_17', value: 1048},
                        {name: 'WLMQX1_13', value: 1191},
                        {name: 'TSQ_44', value: 14598},
                        {name: 'WLMQX2_52', value: 2262},
                        {name: 'XSQ_21', value: 3272},
                        {name: 'XSQ_68', value: 4515},
                        {name: 'XSQ_12', value: 1444},
                        {name: 'MDQ_119', value: 368},
                        {name: 'MDQ_30', value: 1519},
                        {name: 'MDQ_118', value: 6454},
                        {name: 'SYBKQ_37', value: 44263},
                        {name: 'MDQ_47', value: 1437},
                        {name: 'WLMQX2_65', value: 31},
                        {name: 'XSQ_50', value: 7097},
                        {name: 'WLMQX1_14', value: 1489},
                        {name: 'XSQ_49', value: 6694},
                        {name: 'XSQ_61', value: 291},
                        {name: 'TSQ_31', value: 14072},
                        {name: 'MDQ_113', value: 3899},
                        {name: 'MDQ_77', value: 3670},
                        {name: 'WLMQX2_47', value: 1779},
                        {name: 'WLMQX1_23', value: 654},
                        {name: 'TTHQ_12', value: 108},
                        {name: 'WLMQX1_6', value: 2},
                        {name: 'XSQ_81', value: 753},
                        {name: 'TTHQ_27', value: 4731},
                        {name: 'TTHQ_10', value: 168},
                        {name: 'DBCQ2_11', value: 671},
                        {name: 'TTHQ_56', value: 91},
                        {name: 'TSQ_32', value: 49510},
                        {name: 'DBCQ2_8', value: 2275},
                        {name: 'SYBKQ_66', value: 4968},
                        {name: 'XSQ_17', value: 1016},
                        {name: 'MDQ_107', value: 764},
                        {name: 'XSQ_80', value: 5777},
                        {name: 'SMGQ_26', value: 6120},
                        {name: 'TTHQ_28', value: 1177},
                        {name: 'MDQ_39', value: 1007},
                        {name: 'MDQ_42', value: 2687},
                        {name: 'SYBKQ_17', value: 82},
                        {name: 'TSQ_42', value: 116},
                        {name: 'TTHQ_29', value: 4840},
                        {name: 'TSQ_41', value: 1732},
                        {name: 'WLMQX1_2', value: 125},
                        {name: 'WLMQX2_56', value: 193},
                        {name: 'MDQ_53', value: 114},
                        {name: 'WLMQX2_42', value: 144},
                        {name: 'MDQ_108', value: 26310},
                        {name: 'SMGQ_23', value: 9422},
                        {name: 'MDQ_103', value: 33864},
                        {name: 'XSQ_32', value: 1845},
                        {name: 'WLMQX2_151', value: 5774},
                        {name: 'TTHQ_54', value: 4856},
                        {name: 'SYBKQ_62', value: 2431},
                        {name: 'SYBKQ_52', value: 63},
                        {name: 'DBCQ2_10', value: 304},
                        {name: 'SMGQ_17', value: 1523},
                        {name: 'XSQ_58', value: 2282},
                        {name: 'XSQ_51', value: 317},
                        {name: 'DBCQ2_87', value: 2417},
                        {name: 'MDQ_49', value: 1380},
                        {name: 'WLMQX2_38', value: 103},
                        {name: 'SMGQ_13', value: 1821},
                        {name: 'SMGQ_64', value: 10271},
                        {name: 'WLMQX2_77', value: 674},
                        {name: 'XSQ_9', value: 14785},
                        {name: 'TTHQ_25', value: 2157},
                        {name: 'SYBKQ_33', value: 1731},
                        {name: 'DBCQ2_14', value: 612},
                        {name: 'WLMQX2_74', value: 2109},
                        {name: 'MDQ_114', value: 5422},
                        {name: 'WLMQX1_17', value: 329},
                        {name: 'XSQ_8', value: 1006},
                        {name: 'WLMQX1_18', value: 246},
                        {name: 'XSQ_69', value: 14774},
                        {name: 'TTHQ_30', value: 1795},
                        {name: 'SMGQ_57', value: 952},
                        {name: 'MDQ_29', value: 1183},
                        {name: 'TTHQ_57', value: 46},
                        {name: 'SMGQ_72', value: 10135},
                        {name: 'XSQ_15', value: 19},
                        {name: 'SMGQ_22', value: 4169},
                        {name: 'MDQ_116', value: 5249},
                        {name: 'WLMQX1_27', value: 1850},
                        {name: 'TSQ_25', value: 733},
                        {name: 'MDQ_106', value: 2138},
                        {name: 'WLMQX2_153', value: 392},
                        {name: 'SMGQ_67', value: 35276},
                        {name: 'SMGQ_21', value: 10410},
                        {name: 'SYBKQ_69', value: 7474},
                        {name: 'SMGQ_70', value: 6881},
                        {name: 'MDQ_56', value: 108},
                        {name: 'SYBKQ_63', value: 5526},
                        {name: 'TTHQ_61', value: 7736},
                        {name: 'SMGQ_79', value: 1340},
                        {name: 'TTHQ_42', value: 2091},
                        {name: 'MDQ_76', value: 806},
                        {name: 'DBCQ2_29', value: 689},
                        {name: 'XSQ_10', value: 783},
                        {name: 'XSQ_46', value: 1926},
                        {name: 'SMGQ_42', value: 409},
                        {name: 'TTHQ_46', value: 20},
                        {name: 'XSQ_66', value: 8758},
                        {name: 'XSQ_74', value: 17996},
                        {name: 'SMGQ_24', value: 7624},
                        {name: 'XSQ_23', value: 1762},
                        {name: 'TTHQ_33', value: 2858},
                        {name: 'SMGQ_76', value: 474},
                        {name: 'TTHQ_20', value: 119},
                        {name: 'SMGQ_63', value: 12984},
                        {name: 'WLMQX1_34', value: 5297},
                        {name: 'WLMQX2_75', value: 5131},
                        {name: 'DBCQ1_9', value: 1730},
                        {name: 'TSQ_37', value: 3499},
                        {name: 'SYBKQ_58', value: 1092},
                        {name: 'DBCQ2_28', value: 2},
                        {name: 'SYBKQ_67', value: 1366},
                        {name: 'TTHQ_18', value: 5521},
                        {name: 'TTHQ_43', value: 4042},
                        {name: 'MDQ_109', value: 12049},
                        {name: 'MDQ_37', value: 208},
                        {name: 'TTHQ_4', value: 210},
                        {name: 'TSQ_38', value: 55}

                    ]
                }
            ]
        });
    });

    // JSON
    //$.getJSON('wlmq_block.json', function (data) {
    //var data = JSON.parse(wlmq_block);

</script>
</body>
</html>